package com.elink.enginerring.subject.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.postbar.entity.Postbar;
import com.elink.enginerring.subject.entity.SubjectPostbar;

public interface SubjectPostbarMapper {
    int deleteByPrimaryKey(String catalogId);

    int insert(SubjectPostbar record);

    int insertSelective(SubjectPostbar record);

    SubjectPostbar selectByPrimaryKey(String catalogId);

    int updateByPrimaryKeySelective(SubjectPostbar record);

    int updateByPrimaryKey(SubjectPostbar record);
 
	List<Postbar> selectList(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCount(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	List<Postbar> selectListByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCountByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	void insertBatch(List<SubjectPostbar> fdc);
}